package model.factory;

import persistence.dao.UserDAO;

public class Service {
	UserDAO service;

	public Service(DataAcces da) {
		DAOFactory daoFactory = DAOFactory.createDAOFactory(da);
		service = daoFactory.getUserDAO();		
	}
	
	public UserDAO getService() {
		return service;
	}

}
